<h1> Edit</h1>

<?php $form = $this->beginWidget('CActiveForm'); ?>
<div>
   <?php echo $form->labelEx($model, 'login'); ?> 
   <?php echo $form->textField($model, 'login'); ?> 
   <?php echo $form->error($model, 'login'); ?> 
</div>    

<div>
   <?php echo $form->labelEx($model, 'password'); ?> 
   <?php echo $form->textField($model, 'password'); ?> 
   <?php echo $form->error($model, 'password'); ?> 
</div>  
<br />

<?php echo $form->dropDownList($model, 'password', array(''=>'', '1'=>'active', '2'=>'inactive')); ?>   <!-- Выпадающий список -->
<br />
<?php echo CHtml::submitButton('Edit!'); ?>
    
    
<?php  $this->endWidget();  ?>


